<?php

class Form_SearchState extends QForm
{
    function __construct($action)
    {
        // 调用父类的构造函数
        parent::__construct('Form_SearchState', $action);

        // 从配置文件载入表单
        $filename = rtrim(dirname(__FILE__), '/\\') . DS . 'searchstate.yaml';
        $this->loadFromConfig(Helper_YAML::loadCached($filename));

        //定义表单名称
        $this->_subject = '查找主机状态';

        //添加验证方法
        //$this->addValidations(Admin_Users::meta());
    }

}


?>
